package com.ai.pos.client;

import com.ai.pos.client.sales.models.SalesItem;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface SalesItemServiceAsync {
	void SaveItem(SalesItem itemJson, AsyncCallback<String> callback) throws IllegalArgumentException;
	void getItem(int itemJson, AsyncCallback<String> callback) throws IllegalArgumentException;
	void getAllItems(String itemJson, AsyncCallback<String> callback) throws IllegalArgumentException;
}
